package com.ay277.htqoa.quartz.entity;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * Created by Temptation on 2016/12/22.
 */
public class MyJob3 implements Job{
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        try {
            TestMail.SendMail();
        } catch (Exception e) {
            e.printStackTrace();
        }
        System.out.println("调用时间"+new Date());
    }
}
